package com.itheima.config;

import com.alibaba.druid.pool.DruidDataSource;
import org.springframework.context.annotation.Bean;

/**
 * ClassName: DbConfig
 * Description:
 * Date: 2023/03/22 PM 8:37:32
 * <p>
 * project: springboot
 * package: com.itheima.config
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
// @Component
// @Configuration
public class DbConfig {

    @Bean
    public DruidDataSource dataSource() {
        return new DruidDataSource();
    }
}
